						<ul class="breadcrumb well">
							<li><a href="#">Финансы</a> <span class="divider">/</span></li>
							<li><a href="#">Все отчеты</a> <span class="divider">/</span></li>
							<li class="active">Документы</li>
						</ul>
					
						<div class="content add-deal-form">
							<table class="table table-bordered table-hover">
							<?php foreach($documents as $document){ ?>
								<tr>
								<td><a href="<?php echo $document->url?>"><?php echo $document->url ?></a></td><td> <a href="#deleteDocument/id/<?php echo $document->id?>">delete</a></td>
								</tr>
							<?php } ?>
							</table>
							<?php echo form_open_multipart('mgmt/addDealDocument/did/'.$did); ?>
							<h3>Добавить документ</h3>
							<input type="file" name="userfile" size="20" required/> 
							<div class="select-div"></div>
							<input type="submit" value="Загрузить" class="btn btn-primary pull-left" />
							</form>
						</div> <!-- /content -->